package cn.xuw.web

import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
import java.time.LocalDate
import java.time.LocalTime

@RestController
@RequestMapping("/home")
class HomeController {
    @RequestMapping
    fun home(): String {
        return "hello kotlin:" + LocalDate.now() + " " + LocalTime.now()
    }
}